
package apus.persistence.proxy;

import apus.entity.Period;
import apus.persistence.PeriodDAO;
import java.text.DateFormat;
import java.util.Date;

/**
 * The <code>PeriodProxy</code> class represents APUS period-proxy.
 * @author  Maxim Vasilevsky
 * @author  Roman Dyatkovsky
 * @see     java.text.DateFormat
 * @see     AbstractProxy
 * @since   APUS v0.5
 */

public class PeriodProxy extends AbstractProxy<Period, PeriodDAO> implements Period {
    
    public PeriodProxy() {
        super(PeriodDAO.class);
    }

    @Override
    public Date getEndDate() {
        return getProxy().getEndDate();
    }

    @Override
    public Date getStartDate() {
        return getProxy().getStartDate();
    }
    
    @Override
    public String toString() {
        return getProxy().toString();
    }

}